#####               create clock              #####
set_property PACKAGE_PIN AE5 [get_ports sys_clk_p]
set_property IOSTANDARD DIFF_SSTL12 [get_ports sys_clk_p]
create_clock -period 5.000 -name sys_clk_p -waveform {0.000 2.500} [get_ports sys_clk_p]

set_property CLOCK_DEDICATED_ROUTE FALSE [get_nets dut_io_pads_jtag_TCK_i_ival]
set_property CLOCK_DEDICATED_ROUTE FALSE [get_nets IOBUF_jtag_TCK/O]

#####            rst define           #####
set_property PACKAGE_PIN AF12 [get_ports mcu_rst   ]
set_property IOSTANDARD LVCMOS33 [get_ports mcu_rst   ]

#####               MCU JTAG define           #####
set_property PACKAGE_PIN AB14 [get_ports mcu_TDO]
set_property PACKAGE_PIN W13 [get_ports mcu_TCK]
set_property PACKAGE_PIN W11 [get_ports mcu_TDI]
set_property PACKAGE_PIN Y10 [get_ports mcu_TMS]
set_property IOSTANDARD LVCMOS33 [get_ports mcu_TDO]
set_property IOSTANDARD LVCMOS33 [get_ports mcu_TCK]
set_property IOSTANDARD LVCMOS33 [get_ports mcu_TDI]
set_property IOSTANDARD LVCMOS33 [get_ports mcu_TMS]

#####                PMU define               #####
set_property PACKAGE_PIN AF11 [get_ports mcu_wakeup]
set_property IOSTANDARD LVCMOS33 [get_ports mcu_wakeup]


#####                UART define              #####
set_property PACKAGE_PIN W14 [get_ports tx]
set_property IOSTANDARD LVCMOS33 [get_ports tx]

set_property PACKAGE_PIN AB15 [get_ports rx]
set_property IOSTANDARD LVCMOS33 [get_ports rx]
